package fr.ensisa.sunspot.event;

import fr.ensisa.sunspot.enums.bVk;
import fr.ensisa.sunspot.enums.dwFlags;

public class DwFlagsEvent extends AbstractEvent {
	
	private bVk bVk;
	private dwFlags dwFlags;

	public DwFlagsEvent(int major, int minor) {
		super(major, minor);
	}
	
    public String toString () {
        StringBuffer tmp = new StringBuffer ();
        tmp.append (super.toString());
        tmp.append(" ");
        tmp.append(bVk.value());
        tmp.append(" ");
//        tmp.append(dwFlags.value());
        return tmp.toString();
    }

    public IEvent clone() {
        DwFlagsEvent copy = new DwFlagsEvent(getMajor(), getMinor());
        copy.setState(getState());
        copy.setTimeStamp(getTimeStamp());
        copy.setbVk(getbVk());
        copy.setDwFlags(getDwFlags());
        return copy;
    }

	public bVk getbVk() {
		return bVk;
	}

	public void setbVk(bVk bVk) {
		this.bVk = bVk;
	}

	public dwFlags getDwFlags() {
		return dwFlags;
	}

	public void setDwFlags(dwFlags dwFlags) {
		this.dwFlags = dwFlags;
	}

}
